{php $no_left =true;}

{template '_header'}
{template 'platform/manage/tabs'}

<div class="page-header">
    当前位置：<span class="text-primary">{if !empty($platform['id'])}编辑{else}添加{/if}({$platform['name']})平台分红</span>
</div>

<div class="page-content">
    <div class="page-sub-toolbar">
        <span class=''>
            {ifp 'platform.main'}
                <a class="btn btn-primary btn-sm" href="{php echo webUrl('platform')}">返回列表</a>
            {/if}
        </span>
    </div>
<form id="setform"  {ifp 'platform.bonus'}action="" method="post"{/if} class="form-horizontal form-validate">

<input type="hidden" name="id" value="{$id}" />

<div class="tabs-container">
    <div class="tab-content ">

            <div class="form-group">
                <label class="col-sm-2 control-label"></label>
                <div class="col-sm-8">
                    <strong>提示：输入40等于40%分红 、  输入10.5等于10.5%分红</strong>
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">投资人</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="moneyman" value="{$item['moneyman']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['moneyman']}
                    </div>
                    {/if}
                </div>
            </div>

        <div class="form-group">
            <label class="col-sm-2 control-label must">联营企业</label>
            <div class="col-sm-8">
                {ifp 'platform.manage.bonus'}
                <input type="number" class="form-control" name="store" value="{$item['store']}" data-rule-required="true"/>
                {else}
                <div class="form-control-static">
                    {$item['store']}
                </div>
                {/if}
            </div>
        </div>

        <div class="form-group">
            <label class="col-sm-2 control-label must">国家</label>
            <div class="col-sm-8">
                {ifp 'platform.manage.bonus'}
                <input type="number" class="form-control" name="country" value="{$item['country']}" data-rule-required="true"/>
                {else}
                <div class="form-control-static">
                    {$item['country']}
                </div>
                {/if}
            </div>
        </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">省级运营商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="province" value="{$item['province']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['province']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">市级运营商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="city" value="{$item['city']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['city']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">区域运营商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="area" value="{$item['area']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['area']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">行业服务商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="channel" value="{$item['channel']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['channel']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">供应商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="supplier" value="{$item['supplier']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['supplier']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">生产商</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="producer" value="{$item['producer']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['producer']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">一级推荐人</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="recommend" value="{$item['recommend']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['recommend']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">二级推荐人</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="recommend2" value="{$item['recommend2']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['recommend2']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">三级推荐人</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="recommend3" value="{$item['recommend3']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['recommend3']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">消费者</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="cashback" value="{$item['cashback']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['cashback']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">公司</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="company" value="{$item['company']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['company']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">技术</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="technology" value="{$item['technology']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['technology']}
                    </div>
                    {/if}
                </div>
            </div>

            <div class="form-group">
                <label class="col-sm-2 control-label must">奖金池</label>
                <div class="col-sm-8">
                    {ifp 'platform.manage.bonus'}
                    <input type="number" class="form-control" name="foundation" value="{$item['foundation']}" data-rule-required="true"/>
                    {else}
                    <div class="form-control-static">
                        {$item['foundation']}
                    </div>
                    {/if}
                </div>
            </div>

        </div>
</div>

    {ifp 'platform.manage.bonus'}
<div class="form-group">
    <label class="col-sm-2 control-label"></label>
    <div class="col-sm-9 col-xs-12">
        <input type="submit"  value="提交" class="btn btn-primary" />
    </div>
</div>
{/if}

</form>
</div>
{template '_footer'}